import Constant from '@/constant/Constants';
/**
 * ProtocolRequest
 */
export default class ProtocolRequest{
    private  appId:string=Constant.appId;
    private  uid:number=0 ;
    private  version:string=Constant.version;
    private  timestamp:string;
    private  data:string;
    private  token:string="";
    private  sign:string;
    private  platform:string=Constant.platform;

    /**
     * Getter appId
     * @return {string}
     */
	public getAppId(): string {
		return this.appId;
	}

    /**
     * Getter uid
     * @return {number }
     */
	public getUid(): number  {
		return this.uid;
	}

    /**
     * Getter version
     * @return {string}
     */
	public getVersion(): string {
		return this.version;
	}

    /**
     * Getter timestamp
     * @return {string}
     */
	public getTimestamp(): string {
		return this.timestamp;
	}

    /**
     * Getter data
     * @return {string}
     */
	public getData(): string {
		return this.data;
	}

    /**
     * Getter token
     * @return {string}
     */
	public getToken(): string {
		return this.token;
	}

    /**
     * Getter sign
     * @return {string}
     */
	public getSign(): string {
		return this.sign;
	}

    /**
     * Getter platform
     * @return {string}
     */
	public getPlatform(): string {
		return this.platform;
	}

    /**
     * Setter appId
     * @param {string} value
     */
	public setAppId(value: string) {
		this.appId = value;
	}

    /**
     * Setter uid
     * @param {number } value
     */
	public setUid(value: number ) {
		this.uid = value;
	}

    /**
     * Setter version
     * @param {string} value
     */
	public setVersion(value: string) {
		this.version = value;
	}

    /**
     * Setter timestamp
     * @param {string} value
     */
	public setTimestamp(value: string) {
		this.timestamp = value;
	}

    /**
     * Setter data
     * @param {string} value
     */
	public setData(value: string) {
		this.data = value;
	}

    /**
     * Setter token
     * @param {string} value
     */
	public setToken(value: string) {
		this.token = value;
	}

    /**
     * Setter sign
     * @param {string} value
     */
	public setSign(value: string) {
		this.sign = value;
	}

    /**
     * Setter platform
     * @param {string} value
     */
	public setPlatform(value: string) {
		this.platform = value;
	}
    
}